import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { AccountComponent } from "./account.component";
import { AccountService } from "./account.service";
import { Routes, RouterModule } from "@angular/router";

const routes: Routes = [
    {
        path: '',
        component: AccountComponent
    }
];

@NgModule({
    providers:[
        AccountService
    ],
    imports:[        
        CommonModule,
        RouterModule.forChild(routes)
    ],
    declarations: [
        AccountComponent
    ]
})
export class AccountModule { }